
export const constantRoute = [
  {
    path: '/login',
    component: () => import('@/views/login/index.vue')
  },
  {
    path: '/notFound',
    component: () => import('@/views/not-found/index.vue')
  },
  {
    path: '/test',
    component: () => import('@/views/test/index.vue')
  },
  {
    path: '/',
    component: () => import('@/layout/index.vue')
  },
  {
    //重定向
    path: '/:pathMatch(.*)*',
    redirect: '/notFound',
    name: 'Any',
  },
]
